// by Xeno
private ["_vehicle", "_poss"];
#include "x_setup.sqf"

x_sm_pos = [[5779.0532,2611.7964,0]]; // index: 37,   Prison, Pogorevka
x_sm_type = "normal"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client) then {
	d_current_mission_text = "The enemy is building a prison near Scheuen. Destroy the building so that they can not arrest innocent people.";
	d_current_mission_resolved_text = "Good job. The prison is destroyed.";
};

if (isServer) then {
	__Poss
	_vehicle = "Land_hospital" createvehicle _poss;
#ifndef __TT__
	[_vehicle] execFSM "fsms\XCheckSMHardTarget.fsm";
#else
	[_vehicle] execFSM "fsms\XCheckSMHardTargetTT.fsm";
#endif
	_vehicle setDir 190;
	sleep 2.132;
	["specops", 1, "basic", 4, _poss,80,false] spawn XCreateInf;
	sleep 2.234;
	["brdm", 0, "uaz_mg", 1, "uaz_grenade", 2, _poss,1,110,false] spawn XCreateArmor;
	__AddToExtraVec(_vehicle)
};